projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd4c276
)
(main): Don't call setpgrp if !initialized.
author
Richard M. Stallman
<rms@gnu.org>
Sat, 8 Jan 1994 13:26:00 +0000
(13:26 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Sat, 8 Jan 1994 13:26:00 +0000
(13:26 +0000)
src/emacs.c
patch
|
blob
|
history
diff --git
a/src/emacs.c
b/src/emacs.c
index b3f4ca7981484efb3699ff35f0603e7bd56a1d1d..e20f488e8cc8b276d00698c1e3d835827e3bb9ea 100644
(file)
--- a/
src/emacs.c
+++ b/
src/emacs.c
@@
-341,10
+341,11
@@
main (argc, argv, envp)
clearerr (stdin);
#ifdef BSD
- {
- inherited_pgroup = EMACS_GETPGRP (0);
- setpgrp (0, getpid ());
- }
+ if (initialized)
+ {
+ inherited_pgroup = EMACS_GETPGRP (0);
+ setpgrp (0, getpid ());
+ }
#endif